<div class="main">
	<div class="location">当前位置：
		<?php echo $this->Html->link('首页',citylink('Index')); ?> &gt; 
		<?php if($ticket):?>
		<?php echo $this->Html->link($ticket['TicketCate']['title_zh'],citylink('Tickets')+array('cate'=>$ticket['TicketCate']['id']))?> &gt; 
		<?php 
			if($ticket['TicketScate']['id']){
				echo $this->Html->link($ticket['TicketScate']['title_zh'],citylink('Tickets')+array(
						'cate'=>$ticket['TicketCate']['id'],'scate'=>$ticket['TicketScate']['id'])).'&gt;';
			}
			echo $this->Html->link($ticket['Ticket']['title'],citylink('Tickets','view')+array($ticket['Ticket']['id'])).'&gt;';
		?>
		<?php endif;?>
		<span>问答</span>
	</div>
    <div class="content">
    	<div class="conLeft floatl Box">
			<ul class="zxList">
				<?php foreach ($ticketAdvisories as $ticketAdvisory): ?>
					<li>
	                	<h6>
	                		<em>
	                		<?php echo $ticketAdvisory['TicketAdvisory']['question_local']?>
	                		[<?php echo $ticketAdvisory['TicketAdvisory']['question_ip']?>]
	                		</em> 
	                		<?php echo date('Y-m-d',strtotime($ticketAdvisory['TicketAdvisory']['publish']))?>
	                	</h6>
	                    <p class="txtQ"><?php echo $ticketAdvisory['TicketAdvisory']['question']?></p>
	                    <p class="txtA"><?php echo $ticketAdvisory['TicketAdvisory']['answer']?></p>
	                </li>
				<?php endforeach; ?>
            </ul>
           <div class="fanye">
	        <?php 
	            $this->Paginator->options(array('url' => citylink('TicketAdvisories')));
	            echo $this->Paginator->prev(__('上一页'), array(),null,array('class' => 'prev disabled'));
	            echo $this->Paginator->numbers(array('first' => 2, 'last' => 2,'separator'=>' ','tag'=>'span')); 
	            echo $this->Paginator->next(__('下一页'), array(),null,array('class' => 'next disabled'));
	            echo $this->Paginator->counter(' 共{:pages}页');
	        ?>
	        </div>
        </div>
        <div class="conRight floatr">
           <?php echo $this->element('index/articleCate')?>
           <!-- blog -->
           <?php echo $this->element('block/blog')?>
           <!-- end blog-->
            <?php echo $this->element('block/recentTicket')?>
            <?php echo $this->element('block/hotArticle')?>
        </div>
    </div>	
</div>